const app = getApp();
const WxParse = require('../../../wxParse/wxParse.js');
Page({
  data: {
    info:'',
  },
  onLoad: function (options) {
    let that = this;
    let article_id = options.id;
    app.request('article/articleDetail', { article_id },'GET',false,function(res){
      that.setData({
        pageShow: true,
        info: res.data.data,
        editor: WxParse.wxParse('editor', 'html', res.data.data.detail, that, 5),
      })
    })
    
  },
  onShareAppMessage: function () {

  }
})